package com.itheima.health.dao;

import com.github.pagehelper.Page;
import com.itheima.health.pojo.entity.CheckGroup;
import com.itheima.health.pojo.entity.CheckItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CheckGroupDao {

    void insert(CheckGroup checkGroup);


    Page<CheckGroup> selectByConditon(String queryString);

    CheckGroup selectById(@Param("id") Integer id);


    void update(CheckGroup checkGroup);

    void deleteCheckGroupitemById(Integer id);


    List<CheckGroup> findAll();

}
